﻿@page "/tools"
@layout EmptyLayout

<style>
    .uploadbtn {
        margin-top: 5px;
        width: 100%;
    }
</style>

@if (IsValidates)
{
    <Card HeaderTemplate="HeaderTemp">
        <BodyTemplate>
            <div class="row g-3">
                <div class="col-12 col-sm-6 col-lg-4 col-xl-4">
                    <GMS.NET.Web.Components.Pages.Systems.Tools.Mangers.Database />
                </div>
                <div class="col-12 col-sm-6 col-lg-4 col-xl-4">
                    <GMS.NET.Web.Components.Pages.Systems.Tools.Mangers.DataRecovery />
                </div>
                <div class="col-12 col-sm-6 col-lg-4 col-xl-4">
                    <GMS.NET.Web.Components.Pages.Systems.Tools.Mangers.DataSeedCreate />
                </div>
            </div>
        </BodyTemplate>
    </Card>

}
else
{
    <div style=" width: 300px; height: 100px; margin: auto;margin-top: 10%;">
        <FloatingLabel DisplayText="输入口令" TValue="string" type="password" style="width: 300px;border: 2px solid orange;"
                       OnEnterAsync="Authentication" />
    </div>
}

@code{
    RenderFragment HeaderTemp =>@<div><span class="fas fa-fw fa-toolbox"></span>系统开发工具箱</div>;
}